<?php
/**
 * Provide a interface to smarty.
 *
 * PHP versions 5
 *
 * Copyright (C)
 * This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as
 * published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty
 * of ERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software
 * Fundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110, USA
 *
 * @author Bastian Schröder <bs@chemanet.de>
 * @version 2007-08-14
 * @package rail
 */

// include Smarty libary
require('smarty-2.6.16/Smarty.class.php');

class rail_smarty extends Smarty {

	/**
	 * Constructor
	 * Set some default smarty variables.
	 *
	 * @param rail_connector $pRailConnector
	 * @param int $pId
	 */
	public function __construct () {
		// construct Smarty
		$this->Smarty();
		$this->caching = false;

		$this->left_delimiter = '<!--{';
		$this->right_delimiter = '}-->';

		$this->template_dir = './templates/';
		$this->compile_dir = './cache/';
		$this->config_dir = './configs/';
		$this->cache_dir = './cache/';
	}

} // End of rail_smarty
?>